using System;
using DemoPress.BlogDataServices;

namespace DemoPress.XmlDataService
{
    public class XmlDataService: IDemoPressDataService
    {
        private IBlogDataService _blogData;

        #region IDemoPressDataService Members

        public IBlogDataService BlogData
        {
            get
            {
                if (_blogData == null)
                {
                    _blogData = new XmlBlogDataService();
                }
                return _blogData;
            }
        }

        #endregion
    }
}
